.n-layout-scroll-container {
  flex: 1;
  overflow-x: hidden;
  box-sizing: border-box;
  height: 100%;
}
.go-content-box {
  background-image: linear-gradient(#fafafc 14px, transparent 0), linear-gradient(90deg, transparent 14px, #373739 0);
  background-color: #fafafc;
  background-size: 15px 15px, 15px 15px;
  position: relative;
  width: 100%;
  overflow: hidden;
  height: calc(100vh - 65px);
  margin: 1px 1px 0;
}
.content-height-show-top-bottom {
  height: calc(100vh - 100px);
}
.go-sketch-rule {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.style-ruler {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 12px;
  pointer-events: none;
}
.edit-screens {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: auto;
  user-select: none;
  padding-bottom: 0;
  scrollbar-color: rgba(144, 146, 152, 0.3) transparent;
  scrollbar-width: thin;
}
.edit-screen-container {
  width: 3840px;
  height: 2160px;
  position: absolute;
  top: 0;
  left: 0;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}
.canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 50% 0;
  transform: translateY(-50%);
}
.h-container {
  position: absolute;
  top: 0;
}
.v-container {
  position: absolute;
  left: 0;
}

.lines {
  pointer-events: none;
}

.line {
  pointer-events: auto;
  position: absolute;
  cursor: none;
}

.h-container .line {
  top: 0;
  height: 100vh;
  padding-left: 5px;
  border-left: 1px dashed #51d6a9;
}

.v-container .line {
  left: 0;
  width: 100vw;
  padding-top: 5px;
  border-top: 1px dashed #51d6a9;
}

.action {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}
.del {
  cursor: pointer;
  visibility: hidden;
  padding: 0;
  color: #51d6a9;
  font-size: 26px;
  font-weight: bolder;
}

.value {
  line-height: 1;
  pointer-events: none;
  transform: scale(0.83);
}

.ruler {
  position: relative;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  user-select: none;
  box-sizing: border-box;
}

.ruler.horizontal {
  padding-left: 20px; /* 为0刻度标签留出空间 */
  border-bottom: 1px solid #999;
}

.ruler.vertical {
  padding-top: 20px; /* 为0刻度标签留出空间 */
  border-right: 1px solid #999;
}

.ruler-ticks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tick {
  position: absolute;
  background-color: #333;
}

.ruler.horizontal .tick {
  top: 0;
  width: 1px;
}

.ruler.vertical .tick {
  left: 0;
  height: 1px;
}

.tick.major {
  background-color: #000;
}

.tick.minor {
  background-color: #555;
}

.tick.micro {
  background-color: #888;
}

.tick-label {
  position: absolute;
  color: #333;
  font-size: 12px;
  white-space: nowrap;
}

.ruler.horizontal .tick-label {
  bottom: -16px;
  text-align: center;
}

.ruler.vertical .tick-label {
  left: -16px;
  text-align: right;
}

.ruler-indicator {
  position: absolute;
  background-color: #ff4444;
  z-index: 10;
}

.ruler.horizontal .ruler-indicator {
  top: 0;
  width: 1px;
  height: 100%;
}

.ruler.vertical .ruler-indicator {
  left: 0;
  width: 100%;
  height: 1px;
}
.corner {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
  box-sizing: content-box;
  transition: all 0.2s ease-in-out;
}
